package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Trans;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

public interface TransMapper {
    Integer getCount(Map map);

    List<Trans> getAllTrans(@Param("index") Integer index,@Param("rowsPerPage") Integer rowsPerPage, @Param("map") Map map);

    void save(Trans trans);

    Trans getAll(String id);
}
